home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light ROM 3
/
Light ROM 3 - Disc 2.iso
/
programs
/
pc
/
l_parser
/
lparser3.exe
/
TREE09.LS
< prev
next >
Wrap
Text File
|
1993-11-22
|
581b
|
30 lines
# --- L-System Parser/Mutator --- Lj Lapre ----------------------------------
#
# 'Trail off Trees'. This is a setup to get all development
# stages of a tree together in one image.
#
14
5
30
#
&(90)H
#
H=f(500)TcH # move forward and plant a tree
#
T=[^(90)FFS] # the actual tree
S=FFR>(120)R>(120)R>(60)S # three branches per segment
R=[Ba] # a single branch
#
a=$tF[Cx]Fb # see bop08.ls
b=$tF[Dy]Fa
#
B=&B # angle increments
C=+C
D=-D
#
x=a # apical elay
y=b
#
F='(1.25)F'(.8) # elongation rate
@